package org.wsjy.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.wsjy.mapper.TServiceMapper;
import org.wsjy.model.TService;

/**
 * 服务服务类
 *@Title:
 *@Company:万世极缘工作室
 *@Description:
 *@Author:万世极缘
 *@Since:2016年1月15日
 *@Copyright:Copyright (c) 2014
 *@ModifyDate:
 *@Version:1.1.0
 */
@Service
public class ServiceService {
    @Autowired
    private TServiceMapper serviceMapper;

    /**
     * 查到所有的服务项目
     * @return
     * @Description:
     */
    public List<TService> findAll() {
        return serviceMapper.findAll();
    }
}
